.item-list {
    margin-left: 0px;
    margin-top: 10px;
    display: flex;
    border-bottom: 1px solid #eee;
}
.item-set01 {
    width: 209px;
    height: 50px;
    background-color: #efefef;  
    text-align: center;
    line-height: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.item-set01:hover {
    background-color: #e0e0e0;
}
/* Menu */
.item-menu {
    background: white;
    border-top: 1px solid #d3d3d3;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
}
.item-info {
    border-bottom: 1px solid #d3d3d3;
}
.item-review {
    border-bottom: 1px solid #d3d3d3;
}
.item-content {
    width: 100%;
    border: 1px solid #d3d3d3;
    border-top: 0px;
    background: #fff;
}
.list-group>a {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}
.list-group>a:last-child {
    border-bottom: none;
}
.pset01 {
    color: #0f77ff;
    font-weight: bold;
    margin-left: auto;
    margin-right: 100px;
}
.food-image-set {
    position: absolute;
    right: 20px;
}
.food-image-set img {
    border-radius: 4px;
    max-width: none;
}
.list-group>a:hover {
    background-color: #f5f5f5;
}
/* item-content-set01을 nav-menu와 같은 스타일로 설정 */
.item-content-set01 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 20px;
}
/* item-card2 스타일 (기존 item-card와 구분) */
.item-card2 {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
}
.item-card2:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}
.item-card-main {
    flex-shrink: 0;
}
.item-card-main img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: contain;
    background-color: #f8f8f8;
    padding: 4px;
    max-width: none;
}
.item-card-info {
    flex: 1;
    min-width: 0;
}
.item-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}
.item-score {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #666;
}
.item-icon {
    color: #ffe200;
    font-size: 18px;
}
.pblack {
    color: #222;
}
.pay-way, .minimum-pay {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 3px;
}
/* 태블릿 반응형 디자인 */
@media (max-width: 900px) {
    .item-content-set01 {
        padding: 0 15px;
        margin-bottom: 15px;
    }
    
    .item-card2 {
        padding: 12px;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .item-card-main img {
        width: 60px;
        height: 60px;
        max-width: none;
    }
    
    .item-title {
        font-size: 1rem;
    }
    
    .item-set01 {
        width: 150px;
        font-size: 0.9rem;
        height: 45px;
        line-height: 45px;
    }
    
    .list-group>a {
        height: 100px;
        padding: 12px 15px;
    }
    
    .pset01 {
        margin-right: 80px;
        font-size: 0.9rem;
    }
    
    .food-image-set {
        right: 15px;
    }
    
    .food-image-set img {
        width: 70px;
        max-width: none;
    }
}
/* 모바일 반응형 디자인 */
@media (max-width: 600px) {
    .item-content-set01 {
        padding: 0 10px;
        margin-bottom: 10px;
        border-radius: 0;
    }
    
    .item-card2 {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        margin-bottom: 10px;
        border-radius: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .item-card2:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }
    
    .item-card-main {
        margin-bottom: 15px;
    }
    
    .item-card-main img {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        object-fit: contain;
        max-width: none;
    }
    
    .item-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .item-score {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .pay-way, .minimum-pay {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .item-list {
        flex-direction: column;
        margin-top: 15px;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .item-set01 {
        width: 100%;
        border-radius: 0;
        height: 50px;
        line-height: 50px;
        font-size: 1rem;
        font-weight: 500;
        border-bottom: 1px solid #ddd;
    }
    
    .item-set01:last-child {
        border-bottom: none;
    }
    
    .item-set01:hover {
        background-color: #f0f0f0;
    }
    
    .item-content {
        border-radius: 0 0 8px 8px;
        border: none;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .list-group>a {
        height: auto;
        min-height: 90px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 15px;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }
    
    .list-group>a:last-child {
        border-bottom: none;
    }
    
    .list-group>a:hover {
        background-color: #f8f8f8;
    }
    
    .pset01 {
        margin: 0;
        font-size: 1rem;
        color: #0f77ff;
        font-weight: bold;
        order: 2;
    }
    
    .food-image-set {
        position: static;
        margin-top: 10px;
        order: 3;
    }
    
    .food-image-set img {
        width: 70px;
        height: 70px;
        border-radius: 6px;
        object-fit: cover;
    }
}
/* 작은 모바일 화면 최적화 */
@media (max-width: 400px) {
    .item-content-set01 {
        padding: 0 8px;
    }
    
    .item-card2 {
        padding: 15px 12px;
        margin-bottom: 8px;
    }
    
    .item-card-main img {
        width: 70px;
        height: 70px;
        max-width: none;
    }
    
    .item-title {
        font-size: 1rem;
    }
    
    .item-score {
        font-size: 0.8rem;
    }
    
    .pay-way, .minimum-pay {
        font-size: 0.75rem;
    }
    
    .item-set01 {
        height: 45px;
        line-height: 45px;
        font-size: 0.9rem;
    }
    
    .list-group>a {
        padding: 15px 12px;
        min-height: 80px;
    }
    
    .food-image-set img {
        width: 60px;
        height: 60px;
        max-width: none;
    }
    
    .pset01 {
        font-size: 0.9rem;
    }
}
/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .item-card2:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .item-set01:hover {
        background-color: #efefef;
    }
    
    .list-group>a:hover {
        background-color: #f5f5f5;
    }
    
    /* 터치 영역 확대 */
    .item-set01 {
        min-height: 44px; /* iOS 권장 터치 영역 */
    }
    
    .list-group>a {
        min-height: 44px;
    }
}
/* 가로 모드 최적화 */
@media (max-width: 900px) and (orientation: landscape) {
    .item-card2 {
        flex-direction: row;
        text-align: left;
        padding: 15px;
    }
    
    .item-card-main {
        margin-bottom: 0;
    }
    
    .item-card-main img {
        width: 60px;
        height: 60px;
    }
    
    .item-list {
        flex-direction: row;
    }
    
    .item-set01 {
        width: 33.333%;
        border-bottom: none;
        border-right: 1px solid #ddd;
    }
    
    .item-set01:last-child {
        border-right: none;
    }
}
/* AI 리뷰 카드 스타일 (자동 줄바꿈, 모바일 최적화 추가) */
.ai-review-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 0 0;
}

.ai-review-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(15,119,255,0.07), 0 1.5px 4px rgba(0,0,0,0.04);
  padding: 28px 28px 22px 28px;
  transition: box-shadow 0.2s;
  border-left: 6px solid #e3f3ff;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
}
.ai-review-card.ai-summary { border-left-color: #4caf50; }
.ai-review-card.ai-analysis { border-left-color: #ff9800; }
.ai-review-card.ai-final { border-left-color: #0f77ff; }

.ai-review-title {
  font-size: 1.18rem;
  font-weight: bold;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
  word-break: keep-all;
}
.ai-review-title .material-icons {
  font-size: 1.3em;
  vertical-align: middle;
}
.ai-review-sub {
  font-size: 0.95em;
  color: #888;
  font-weight: 400;
  margin-left: 8px;
}

.ai-review-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ai-review-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 1.04em;
  color: #333;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
}
.ai-review-list li:before {
  content: '\2714';
  color: #4caf50;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
}

.ai-review-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-bottom: 0;
  table-layout: fixed;
  word-break: break-word;
}
.ai-review-table th, .ai-review-table td {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.ai-review-table th {
  background: #f7faff;
  color: #0f77ff;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px 0 0 6px;
  font-size: 1em;
  text-align: left;
  width: 90px;
}
.ai-review-table td {
  background: #f7f7f7;
  color: #333;
  padding: 8px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 1em;
}
.ai-review-desc {
  color: #888;
  font-size: 0.97em;
  margin-left: 6px;
}

.ai-review-card.ai-final {
  background: linear-gradient(90deg, #e3f3ff 0%, #f7faff 100%);
  border-left-color: #0f77ff;
}
.ai-review-score {
  color: #0f77ff;
  font-weight: bold;
  font-size: 1.1em;
  margin-left: 10px;
}
.ai-review-final-text {
  margin-top: -50px;
  font-size: 1.05em;
  color: #222;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-line;
}
.ai-review-icon {
  color: #0f77ff;
  font-size: 1.3em;
  margin-right: 4px;
  vertical-align: middle;
}

/* 표 가로 스크롤 (모바일) */
.ai-review-table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* 메뉴 표 스타일 */
.menu-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 10px;
}
.menu-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-family: 'Noto Sans KR', 'Nanum Gothic', sans-serif;
  margin-bottom: 0;
}
.menu-table th, .menu-table td {
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 8px 10px 8px;
  text-align: left;
  font-size: 1.05em;
}
.menu-table th {
  background: #f7faff;
  color: #0f77ff;
  font-weight: 700;
  border-top: 2px solid #0f77ff;
}
.menu-table tr:last-child td {
  border-bottom: none;
}
.menu-table td {
  color: #222;
  vertical-align: top;
}
.menu-table-footer {
  margin-top: 12px;
  color: #888;
  font-size: 0.98em;
}
@media (max-width: 600px) {
  .menu-table th, .menu-table td {
    font-size: 0.98em;
    padding: 8px 4px 7px 4px;
  }
  .menu-table th {
    font-size: 1em;
  }
}

/* 반응형 */
@media (max-width: 600px) {
  .ai-review-cards {
    gap: 16px;
    margin: 18px 0 0 0;
  }
  .ai-review-card {
    padding: 16px 10px 14px 12px;
    border-radius: 10px;
    font-size: 0.97em;
  }
  .ai-review-title {
    font-size: 1.02rem;
    margin-bottom: 10px;
  }
  .ai-review-list li {
    font-size: 0.98em;
    margin-bottom: 6px;
  }
  .ai-review-table th, .ai-review-table td {
    font-size: 0.97em;
    padding: 7px 7px;
  }
  .ai-review-final-text {
    font-size: 0.98em;
    gap: 4px;
  }
  .ai-review-table-wrap {
    margin: 0 -8px;
    padding: 0 2px;
  }
}

.map-section {
  width: 100%;
  max-width: 900px;
  margin: 32px auto 32px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.map-section iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}
@media (max-width: 600px) {
  .map-section {
    max-width: 100%;
    margin: 18px 0 18px 0;
    border-radius: 8px;
  }
  .map-section iframe {
    min-height: 180px;
  }
}

.item-list.row {
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  width: 100%;
}
.item-list.row > * {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-list.row > *:not(:last-child) {
  border-right: 1px solid #e3e3e3;
}
.menu-table-pc { display: block; }
.menu-card-list-mobile { display: none; }
#menu-sum-footer {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  text-align: right;
  color: #222;
  font-size: 1.08em;
  font-family: 'Noto Sans KR','Nanum Gothic',sans-serif;
  background: #f7faff;
  border-radius: 0;
  padding: 16px 24px 12px 24px;
  box-shadow: 0 -2px 16px rgba(15,119,255,0.10);
}
@media (max-width: 600px) {
  .menu-table-pc { display: none !important; }
  .menu-card-list-mobile { display: block !important; margin-bottom: 80px; }
  #menu-sum-footer {
    font-size: 1em !important;
    padding: 12px 4vw 10px 4vw !important;
    border-radius: 0 !important;
    box-shadow: 0 -1px 10px rgba(15,119,255,0.10) !important;
  }
  .menu-card-mobile {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(15,119,255,0.04);
    margin-bottom: 10px;
    padding: 14px 12px 12px 0px !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: none;
  }
  .menu-card-mobile input.menu-check {
    margin-top: 4px;
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 600px) {
  .menu-section, .menu-card-list-mobile {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0 0px;
    overflow-x: hidden;
  }
  .image-slider, .slider-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }
  .slider-controls, .slider-dots, .slider-btn {
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* PC 테이블 메뉴 체크박스 중앙 정렬 */
.menu-table td:first-child {
  text-align: center;
  vertical-align: middle;
}
.menu-check {
  width: 22px;
  height: 22px;
  accent-color: #0f77ff;
  cursor: pointer;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 6px;
  display: inline-block;
}
/* 모바일 카드 메뉴 체크박스 중앙 정렬 */
.menu-card-mobile {
  display: flex;
  align-items: center;
}
.menu-card-mobile .menu-check {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
}
@media (max-width: 600px) {
  .menu-check {
    width: 28px !important;
    height: 28px !important;
    margin-right: 12px !important;
  }
  .menu-card-mobile {
    display: flex;
    align-items: center;
  }
  .menu-card-mobile .menu-check {
    align-self: center !important;
  }
}

.menu-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #e3f3ff;
  color: #0f77ff;
  font-size: 1.2em;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.15s;
}
.qty-btn:active {
  background: #b3e0ff;
}
.menu-qty {
  min-width: 24px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 600;
}
@media (max-width: 600px) {
  .qty-btn { width: 36px; height: 36px; font-size: 1.3em; }
  .menu-qty { min-width: 28px; font-size: 1.2em; }
}

.menu-table td,
.menu-card-mobile div,
.menu-card-mobile .menu-text2,
.menu-card-mobile .menu-qty-wrap,
.menu-card-mobile .krw-price {
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: normal;
}

/* 리뷰 섹션 스타일 */
.review-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e3f3ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.review-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.review-rating {
    color: #ff9800;
    font-size: 1.1em;
}

.review-form {
    background: #f8faff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e3f3ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.rating-stars {
    display: flex;
    gap: 8px;
}

.star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star:hover {
    color: #ff9800;
}

.star.active {
    color: #ff9800;
}

.review-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.review-form textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.review-form input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.image-preview {
    margin-top: 8px;
}

.image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-form button {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.review-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#submit-review {
    background: #1976d2;
    color: #fff;
    border: none;
}

#submit-review:hover {
    background: #1565c0;
}

#cancel-review {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

#cancel-review:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.login-prompt {
    background: #f8faff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
    border: 1px solid #e3f3ff;
}

.login-prompt button {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.login-prompt button:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 리뷰 탭 스타일 */
.review-tab-btns {
    display: flex;
    gap: 8px;
    margin: 32px 0 16px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.review-tab-btn {
    padding: 10px 18px;
    border-radius: 18px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-tab-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.review-tab-section {
    min-height: 200px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .review-form {
        padding: 16px;
    }
    
    .review-item {
        padding: 16px;
    }
    
    .star {
        font-size: 20px;
    }
    
    .review-form textarea {
        min-height: 80px;
    }
    
    .image-preview img {
        max-width: 150px;
        max-height: 150px;
    }
    
    .review-tab-btn {
        padding: 8px 14px;
        font-size: 0.9em;
    }
}